Release 10.1A: OpenEdge Development:
Progress Dynamics Repository Reference
ryc_smartobject table — rycso
The
ryc_smartobjecttable is the central table of the Object group. This table lists every object known to the Repository, whether static or dynamic. You should register in the Repository every object that can be run in your application, including visual objects and business logic procedures. You should also register items like the images used on buttons. The only files not registered in the Repository are include files.If a file is registered, it can be added as an instance to containers, added to menus, have security applied to it, be run as part of flows and events, and be set up for automated deployment.
Table 10–1 lists the table’s FLA, fields, and foreign keys.
Table 10–2 gives details of the table’s indexes.
Objects are further defined in the many child tables in the Object group. The child tables might or might not apply to a certain objects based on the type of object. For example, information regarding links, pages, and instances only pertain to objects that are containers. Even in a certain type of object, every object might not use the same child tables. For example, viewers, browsers, and SDOs are containers for datafields. But they do not use pages. Only window containers support pages.
Every property on this table does not apply to every object. There might be some redundant properties as work on the framework proceeds.
Notes: For data versioning, the delete trigger’s referential integrity has been turned off because it would prevent an object being deleted if it is used on some container. This allows imports and object assignments to work. Therefore, the delete trigger referential integrity must be manually coded where it is required.
The automatic delete cascade of SmartObject attributes has been turned off. It might delete attributes for instances of a SmartObject when it should not delete them. A specific delete trigger customization was added that joins on theprimary_smartobject_objin theryc_attribute_valuetable when deleting attributes. This ensures that only attributes for the SmartObject are deleted, and not attributes for instances of the SmartObject.
This table can optionally support customization using custom result codes. The unique key to this table is made up of the object filename and a result code. This allows the same object name to have multiple result codes attached to it. Only the custom objects created in this manner contain the newly added or overridden behavior. The master default object has a result code of 0 and must exist for every object. This allows you to customize the information on this table and any of its child tables for objects that have custom result codes assigned. When you read a SmartObject based on the filename, the result code must be specified, using 0 if you are looking for the master.
The recursive join with a rolename ofextends_smartobject_objsupports development of new functionality. It is not yet used in the framework. to support inheritance.
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |